package com.myzl.coal.domain;

import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.myzl.common.annotation.Excel;
import com.myzl.common.core.domain.BaseEntity;
import lombok.Data;

import java.util.Date;

/**
 * 每天每列统计对象 t_row_data
 *
 * @author myzl
 * @date 2023-03-28
 */
@Data
@TableName("t_row_data")
public class RowData extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键自增 */
    private Long id;

    /** 设备编号 */
    @Excel(name = "设备编号")
    private Integer deviceId;

    /** 设备名称 */
    @Excel(name = "设备名称")
    private String deviceName;

    /** 开始时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "开始时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
    private Date beginTime;

    /** 结束时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "结束时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
    private Date endTime;

    /** 体积(m³) */
    @Excel(name = "体积(m³)")
    private String volume;

    /** 煤种(1混煤 2特低灰) */
    @Excel(name = "煤种(1混煤 2特低灰)")
    private String coalKind;

    /** 重量(t) */
    @Excel(name = "重量(t)")
    private String weight;

    /** 密度(t/m³) */
    @Excel(name = "密度(t/m³)")
    private String density;

    /** 水分 */
    @Excel(name = "水分")
    private String moisture;

    /** 灰度 */
    @Excel(name = "灰度")
    private String grayscale;

}
